package `fun`.codedesign.kotlin.tools

object CollectionTools {
    @JvmStatic
    fun <E> isEmpty(value: Collection<E>?) = value == null || value.isEmpty()

    @JvmStatic
    fun <E> isNotEmpty(value: Collection<E>?) = !isEmpty(value)
}